home *** CD-ROM | disk | FTP | other *** search
- Path: gail.ripco.com!mambuhl
- From: mambuhl@ripco.com (Martin Ambuhl)
- Newsgroups: comp.lang.c
- Subject: Re: Can C save and retrei
- Date: 9 Mar 1996 18:52:01 GMT
- Organization: Ripco Communications, Inc.
- Message-ID: <4hsk0h$j8m@gail.ripco.com>
- NNTP-Posting-Host: foley.ripco.com
-
- Teddy Bear <s7700038@singnet.com.sg>
- in <4hpd14$hel@lantana.singnet.com.sg> asks:
-
- >Can anyone teach me or refer me or help in any way?
- >I need to save to disk and retrieve from disk
- >Can anyone help me
- >The prog goes
-
- [followed by 438 lines of code]
-
- As strange as it seems, I actually tried to rescue this code. Not only
- does it depend on non-standard functions, include useless headers
- (alloc.h), leave out necessary headers (ctype.h), but it is otherwise a
- complete mess. You don't have to look far for examples - check main()
- where you test input characters before getting them. It did not take
- long to realize I would need to completely rewrite this code. Whoopie.
-
- Turn on all your warnings, use whatever flags you need to make the
- compiler think it is an ANSI C compiler, and then post small examples of
- problems you encounter for which you need help.
-
- Try to write your code using the standard library. This will involve
- not using clrscr(), getch[e](), etc., but learn C first before
- exercising all the neat-o extensions your implementation offers. BTW,
- `flushall()' is spelled `fflush(NULL)'.
-
-
- --
- * Martin Ambuhl net: mambuhl@ripco.com
- * Chicago, IL (USA)
-